﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using ML = MaxLeaf.Common;

namespace MaxLeafTest
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            ML.ServerInfo.Init("servers.xml");
            ML.ServerInfo server = ML.ServerInfo.GetK3MasterServer();
            foreach (string strDB in server.CityDBs)
            {
                MessageBox.Show(strDB);
            }

            Application.Exit();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
